/**
 * url段拼接
 * @param baseURL 
 * @param relativeURL 
 */
export default function combineURLs(baseURL: string, relativeURL: string): string {
    return relativeURL
      ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
      : baseURL;
  }